set_xmakever("2.5.0")

if is_plat("qnx") then
includes("toolchains/qnx_sdp7.0.lua")
set_toolchains("QNX_SDP7.0")
add_includedirs("~/workspace/tools/QNX_SDP7.0/target/qnx7/usr/include")
add_linkdirs("~/workspace/tools/QNX_SDP7.0/target/qnx7/aarch64le/usr/lib")
add_syslinks("c++", "screen")
end

-- add_includedirs("$(curdir)/include")



target("arg_parser")
    set_kind("binary")
    set_languages("c++11")
    add_defines("_QNX_SOURCE")
    add_files("./**.cpp")

